﻿using System;
using HarmonyLib;

namespace CricketCheat
{
    [HarmonyPatch(typeof(UI_CricketCombat), "CheckWinBeforeFight")]
    class CheckWinBeforeFight_Path
    {
        public static void Postfix(ref int __result)
        {
            if (Main.NeverLose)
            {
                __result = 1;
            }
        }
    }
}
